package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisual;
import com.xjgzinfo.usdp.service.dto.BladeVisualDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisual} and its DTO {@link BladeVisualDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualMapper extends EntityMapper<BladeVisualDTO, BladeVisual> {


    default BladeVisual fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisual bladeVisual = new BladeVisual();
        bladeVisual.setId(id);
        return bladeVisual;
    }
}
